package cn.gxa.j229.bug.finance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Controller;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Controller
public class Ad implements Serializable {

    private Integer id;

    private String picture;

    private String title;

    private String position;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date starttime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date finishtime;

    private Integer number;

    private Integer state;

    private String province;

    private String link;

    private Integer limit;

    private Integer page;

}